﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace NewsWcfWebService
{
     [DataContract]
    public class ItemNewsInfo
    {
         [DataMember]
         private string _tilte;

         public string Tilte
         {
             get { return _tilte; }
             set { _tilte = value; }
         }
         [DataMember]
         private string _url;

         public string Url
         {
             get { return _url; }
             set { _url = value; }
         }
         [DataMember]
         private string timeStamp;

         public string TimeStamp
         {
             get { return timeStamp; }
             set { timeStamp = value; }
         }
         [DataMember]
         private string keyId;

         public string KeyId
         {
             get { return keyId; }
             set { keyId = value; }
         }
         [DataMember]
         private List<ItemNewsInfo> listCateloges;

         public List<ItemNewsInfo> ListCateloges
         {
             get { return listCateloges; }
             set { listCateloges = value; }
         }
         [DataMember]
         private List<string> _messageContent;

         public List<string> MessageContent
         {
             get { return _messageContent; }
             set { _messageContent = value; }
         }
         [DataMember]
         private byte _type;

         public byte Type
         {
             get { return _type; }
             set { _type = value; }
         }
    }
    
}
